package com.me.libgdx_test;

import java.util.ArrayList;
import com.badlogic.gdx.graphics.g2d.Sprite;

public class ClassSpriteStack {
	private ArrayList<Sprite> stack;
	ClassSpriteStack(){
		stack = new ArrayList<Sprite>();
	}
	ClassSpriteStack(ArrayList<Sprite> stack){
		stack = new ArrayList<Sprite>(stack);
	}
	public ArrayList<Sprite> get_stack(){
		return stack;
	}
	public void add_stack(Sprite sprite){
		stack.add(sprite);
	}
	public void pop_stack(){
		stack.remove(0);
	}

}
